@charset "utf-8";
/*body*/
body{
    background: #f5f5f5;
}

/*主体*/
.jd_layout{
    width: 100%;
    max-width: 640px;   /*设计稿一般都是640，是不是会放大页面，模糊？*/
    min-width: 300px;   /*由于一些老设备可能比320还小*/
    margin: 0 auto;
    position: relative;
}
/*搜索头部*/
.jd_header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 40px;
}
.jd_header_box{
    width: 100%;
    max-width: 640px;
    min-width: 300px;
    margin: 0 auto;
    background: rgba(201,21,35,0);
    position: relative;
}
/*logo*/
.jd_header .icon_logo{
    width: 60px;
    height: 36px;
    position: absolute;
    top: 4px;
    left: 5px;
    background-position:0 -103px ;
}
/*登录*/
.jd_header .login{
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
}
/*from*/
.jd_header form{
    width: 100%;
    padding-left: 65px;
    padding-right: 50px;
    height: 40px;
    position: relative;
}

.jd_header form input{
    width: 100%;
    height: 30px;
    background: #fff;
    border-radius: 15px;
    margin-top: 4px;
    padding-left: 25px;
}

.jd_header form .icon_search{
    position: absolute;
    top:10px;
    left:70px;
    width: 20px;
    height: 20px;
    background-position: -60px -109px;
}


/*轮播图*/
.jd_banner{
    width: 100%;
    position: relative;
    overflow: hidden;
}
.jd_banner ul:first-child{
    width: 1000%;
    -webkit-transform: translateX(-10%);
    transform: translateX(-10%);
}
.jd_banner ul:first-child li{
    width: 10%;
    float: left;
}
.jd_banner ul:first-child li a{
    width: 100%;
    display: block;
}
.jd_banner ul:first-child li a img{
    width: 100%;
    display: block;
}

.jd_banner ul:last-child{
    position: absolute;
    width: 118px;
    height: 6px;
    bottom: 6px;
    left:50%;
    margin-left:-59px;
}
.jd_banner ul:last-child li{
    width: 6px;
    height: 6px;
    border: 1px solid #fff;
    border-radius: 50%;
    float: left;
    margin-left: 10px;
}
.jd_banner ul:last-child li.now{
    background-color: #fff;
}
.jd_banner ul:last-child li:first-child{
    margin-left: 0;
}


/*导航栏*/
.jd_nav{
    width: 100%;
    border-bottom: 1px solid #ccc;
    background: #fff;
}
.jd_nav ul{
    width: 100%;
    padding: 15px 0;
}
.jd_nav ul li{
    width: 25%;
    float: left;
}
.jd_nav ul li a{
    width: 100%;
    display: block;
}
.jd_nav ul li a img{
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}
.jd_nav ul li a p{
    font-size: 12px;
    color: #666;
    text-align: center;
    padding: 6px 0;
}

/*main*/
.jd_product{
    padding: 0 5px;
    height: 400px;
}
.jd_product_item{
    background-color: #fff;
    box-shadow: 0 0 1px #ccc;
    /*min-height: 200px;*/
    margin-top: 10px;
}
.jd_product_item .product_tit{
    height: 34px;
    line-height: 34px;
    border-bottom: 1px solid #e0e0e0;
}
.jd_product_item .product_tit.noborder{
    border-bottom: none;
}
.jd_product_item .product_tit h3{
    font-weight: normal;
    font-size: 16px;
    color: #666;
    position: relative;
    margin-left: 10px;
    padding-left: 10px;
}
.jd_product_item .product_tit h3::before{
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 3px;
    height: 12px;
    background: #d8505c;

}
.jd_product_item .product_con{

}



/*掌上秒杀*/
.seckill_box .sk_name{
    color: #d8505c;
    position: relative;
    padding-left: 20px;
    font-size: 15px;
}
.seckill_box .sk_name::before{
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 16px;
    height: 20px;
    background: url("../images/seckill-icon.png") no-repeat;
    background-size:16px 20px ;
}
.seckill_box .sk_time span{
    background: #333;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    display: block;
    float: left;
    margin-left: 3px;
    color: white;
}
.seckill_box .sk_time span:nth-child(3n){
    background: #fff;
    color: #333;
    width: 3px;
}
.seckill_box .sk_product{
    width: 100%;
    padding: 10px 0;
}
.seckill_box .sk_product li{
    width: 33.3333%;
    float: left;
}
.seckill_box .sk_product li a{
    width: 100%;
    display: block;
    padding: 0 18%;
    border-right: 1px solid #e0e0e0;
}
.seckill_box .sk_product li:last-child a{
    border-right: none;
}
.seckill_box .sk_product li a img{
    width: 100%;
    display: block;
}
.seckill_box .sk_product li p{
    text-align: center;
    font-size: 12px;
    padding: 3px 0;
}
.seckill_box .sk_product li p:first-child{
    color: #d8505c;
}
.seckill_box .sk_product li p:last-child{
    color: #666;
    text-decoration: line-through;
}


/*商品盒子组合样式*/
a.w_50{
    width: 50%;
}
a.w_50 img{
    width: 100%;
    display: block;
}
/*三种边框*/
.b_right{
    border-right: 1px solid #e0e0e0;
}
.b_left{
    border-left: 1px solid #e0e0e0;
}
.b_bottom{
    border-bottom: 1px solid #e0e0e0;
}